package week7.example;

import week7.example.FoodItem;

//*********************************************************************************************************
//  Pizza.java     Author:Duanzhixuan
//
//  Represents a pizza, which is a food item. Used to demonstrates indirect referencing throu inheritance.
//********************************************************************************************************
public class Pizza extends FoodItem
{
    //-------------------------------------------------------------------------------------------------
    //  Sets up a pizza with the specified smount of fat (assumes eight servings).
    //--------------------------------------------------------------------------------------------------------
    public Pizza(int fatGrams)
    {
        super(fatGrams,8);
    }
}
